<?php
	class modifyModel extends Model{
		public function modifyAction(){
            $id =$_SESSION["user"]["id"];
            $sql = "select * from user where id = '{$id}'";
            $row = $this->link->selectDB($sql);
            echo json_encode($row);
		}
	}
	
?>